# -*- coding: utf-8 -*-

from PyQt4.QtGui import QScrollArea
from PyQt4.QtCore import Qt,SIGNAL

class MyScrollArea(QScrollArea):
    def __init__(self,parent=None):
        QScrollArea.__init__(self,parent)

    def mousePressEvent(self, event):
        if event.button() == Qt.LeftButton:
            self.emit(SIGNAL("clicked()"))

        QScrollArea.mousePressEvent(self,event)
